package spaceconquest3d;

import com.jme3.app.SimpleApplication;
import com.jme3.bullet.BulletAppState;
import com.jme3.bullet.collision.shapes.CapsuleCollisionShape;
import com.jme3.bullet.control.CharacterControl;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.ActionListener;
import com.jme3.input.controls.KeyTrigger;
import com.jme3.light.AmbientLight;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.renderer.RenderManager;
import com.jme3.scene.Spatial;

/**
 * Spaceconquest main game initializer.
 *
 * @author Michael Fürst
 * @version 1.0
 */
public class Main extends SimpleApplication {
    private GameManager gameManager;
    
    public static void main(String[] args) {
        Main app = new Main();
        app.start();
    }

    @Override
    public void simpleInitApp() {        
        gameManager = new GameManager(this);
    }

    @Override
    public void simpleUpdate(float tpf) {
       gameManager.update(tpf);
    }

    @Override
    public void simpleRender(RenderManager rm) {
    }
}